package com.whfc.wxmp.api.fmam.service.impl;

import com.whfc.fmam.entity.dto.FmamSupplierDTO;
import com.whfc.fmam.service.FmamSupplierService;
import com.whfc.wxmp.api.fmam.service.WxFmamSupplierService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description:
 * @author: qzexing
 * @version: 1.0
 * @date: 2020/4/23 21:43
 */
@Service
public class WxFmamSupplierServiceImpl implements WxFmamSupplierService {

    private Logger logger = LoggerFactory.getLogger(this.getClass());

    @DubboReference(interfaceClass = FmamSupplierService.class, version = "1.0.0")
    private FmamSupplierService fmamSupplierService;

    @Override
    public List<FmamSupplierDTO> listFmamSupplierDTO(Integer deptId) {
        return fmamSupplierService.listFmamSupplierDTO(deptId);
    }
}
